package com.atguigu.gulimall.product.dao;

import com.atguigu.gulimall.product.entity.AttrEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品属性
 * 
 * @author durant
 * @email 1005327718@gmail.com
 * @date 2021-10-13 10:56:45
 */
@Mapper
public interface AttrDao extends BaseMapper<AttrEntity> {

    List<Long> selectSearchAttrs(@Param("idList") List<Long> idList);

    List<Long> selectSearchAttrs2(@Param("list") List<Long> list);

    Long selectSearchAttr(@Param("id")Long l);
}
